﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartProduction.Domain
{
    public class Approval
    {

        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int AppId {  get; set; }

        /// <summary>
        /// 申请Id
        /// </summary>
        public int ModelId {  get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public int LeaderId {  get; set; }

        /// <summary>
        /// 审核人名称
        /// </summary>
        public string LeaderName {  get; set; }

        /// <summary>
        /// 意见
        /// </summary>
        public int AppResult {  get; set; }
        /// <summary>
        /// 原因
        /// </summary>

        public string? Reason {  get; set; }

        /// <summary>
        /// 时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
    }
}
